/**
 * Created with IntelliJ IDEA
 * Description:
 * User:恋恋
 * Date:2022-03-18
 * Time:17:48
 */
import java.util.Scanner;
public class Year {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.print("请输入一个年龄：");
        int year=sc.nextInt();
        if(year<=18){
            System.out.println("少年");
        }else if(year>18&&year<29){
            System.out.println("青年");
        }else if(year>28&&year<56){
            System.out.println("中年");
        }else{
            System.out.println("老年");
        }
    }
}
